# -*- python -*-

Import('env')
import os

name = os.sep + "Plugin_DSP_LLE"

files = [
	"Config.cpp",
	"DSPDebugInterface.cpp",
	"DSPSymbols.cpp",
	"Globals.cpp",
	"main.cpp",
	"Tools.cpp",
	"DSPHost.cpp",
	]

if env['HAVE_WX']:
	files += [
		"DSPConfigDlgLLE.cpp",
		"Debugger/DSPDebugWindow.cpp",
		"Debugger/DSPRegisterView.cpp",
	]

libs = [ 'dspcore', 'audiocommon', 'common' ]

if env['HAVE_WX']:
	libs += [ 'debugger_ui_util' ]

env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = libs + env['LIBS'])
